package com.example.tencentdemo.Mapper;


import com.example.tencentdemo.entity.group_message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface group_messageMapper {
    // 根据group_id活动群聊ID查询聊天记录。用于点开群聊后渲染全部聊天记录
    List<group_message> queryByGid(String group_id);

    // 插入消息
    int insertMessage(group_message group_message);

}
